package com.bckj.fastboot.paid.api.enums;

import com.bckj.fastboot.paid.api.constant.RefundConstants;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
public enum RefundStatusEnum {

    // 未退款
    NOT_REFUND(RefundConstants.REFUND_STATUS_NOT_REFUND, "未退款"),

    // 退款中
    REFUNDING(RefundConstants.REFUND_STATUS_REFUNDING, "退款中"),

    // 退款成功
    REFUND_SUCCESS(RefundConstants.REFUND_STATUS_REFUND_SUCCESS, "退款成功"),

    // 退款失败
    REFUND_FAIL(RefundConstants.REFUND_STATUS_REFUND_FAIL, "退款失败"),

    // 退款取消
    REFUND_CANCEL(RefundConstants.REFUND_STATUS_REFUND_CANCEL, "退款取消"),

    // 退款关闭
    REFUND_CLOSED(RefundConstants.REFUND_STATUS_REFUND_CLOSED, "退款关闭");


    private final int code;
    private final String name;
}
